package com.gtw.modules.entity;

import java.io.Serializable;
import java.util.Date;

/** 个人收益明细
 * @author wuye
 */
public class TbMyearnings implements Serializable{

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private Integer id;
    /**
     * 创建时间
     */
    private Date date;
    /**
     * 收益
     */
    private Float myEarnings;
    /**
     * 订单ID
     */
    private String orderId;
    /**
     * 内容
     */
    private String text;
    /**
     * 用户UID
     */
    private String uid;
    /**
     * 收益类型：1：优惠返佣(团购等) 2：代理分红  3：会员分红(全球分红) 4：直推奖励
     */
    private Integer type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Float getMyEarnings() {
        return myEarnings;
    }

    public void setMyEarnings(Float myEarnings) {
        this.myEarnings = myEarnings;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}